package com.zjuh.taofood.biz.dao;

import java.util.List;

import com.zjuh.taofood.biz.dao.query.TopicItemQuery;
import com.zjuh.taofood.biz.domain.TopicItemDO;

public interface TopicItemDAO {

	long create(TopicItemDO topicItem);

	void delete(long id);

	void update(TopicItemDO topicItem);

	TopicItemDO queryById(long id);
	
	TopicItemDO queryByItemId(long itemId);
	
	List<TopicItemDO> searchTopicItems(TopicItemQuery topicItemQuery);
	
	List<TopicItemDO> queryTopTopicItems(TopicItemQuery topicItemQuery);

}
